libxc: Fix IOCTL_PRIVCMD_MMAPBATCH_V2 fallback check
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 14 Jan 2010 14:10:40 +0000 (14:10 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 14 Jan 2010 14:10:40 +0000 (14:10 +0000)
commit2d8eb0f62d39abc9d1a49a808f1e69169ea23212
treedf0104b4e10fefc2861c1085aede3545aafbe1ab
parent58a1c3859419969259a6a928310c313f6116e0b4
libxc: Fix IOCTL_PRIVCMD_MMAPBATCH_V2 fallback check

privcmd_ioctl returns EINVAL if the type is not supported.
This fixes the guest booting issue caused by C/S 20791.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
tools/libxc/xc_linux.c